# coding=utf-8
import time

class Restaurant:

    def __init__(self, rname, menu):
        self.number = 0
        self.offerhours = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
        self.name = rname
        self.menu = menu
        str1 = "餐厅：%s，菜系：%s"%(self.name, self.menu)
        print(str1)
        str2 = "截止到%s，共有%d个人用餐。"%(self.offerhours, self.number)
        print(str2)

    def server(self, customer_num):
        print "%s人用餐。"%(customer_num)
        self.number += customer_num

    def info(self):
        str2 = "截止到%s，共有%d个人用餐。"%(self.offerhours, self.number)
        print(str2)

r1 = Restaurant('兰州拉面', '西北菜')
r1.server(2)
r1.server(3)
r1.info()